import React from 'react'
import { createBrowserRouter, RouterProvider } from 'react-router-dom'
import Home from './views/home';
import List from './views/list';
import Login from './views/login';
function App() {
  const router = createBrowserRouter([{
    path: '/',
    element: <Home></Home>
  }, {
    path: '/list',
    element: <List></List>
  }, {
    path: '/login',
    element: <Login></Login>
  }, ])
  return (
    <div className="App">
      <RouterProvider router={router}></RouterProvider>
    </div>
  );
}

export default App;
